package com.ly.base.annotation.example;

/**
 * @Classname Test
 * @Description TODO
 * @Date 2020/4/12 10:25
 * @Author 冷心影翼
 */


public class Test {


    public Test(){

    }

    public Test(int a,String b) {
        System.out.println(a+b);
    }
    @TestFunction
    public void div() {
        int res = 2/1;
        System.out.println("f1 "+res);
    }

    @TestFunction
    public void div2() {
        int res = 1/0;
        System.out.println("f1 "+res);
    }

    @TestFunction
    public void div3() {
        int res = 4/1;
        System.out.println("f1 "+res);
    }


    public void div4() {
        int res = 2/1;
        System.out.println("f1 "+res);
    }

    @TestFunction
    public void div5() {
        int res = 1/0;
        System.out.println("f1 "+res);
    }


    @TestFunction
    public void div6() {
        int res = 2/1;
        System.out.println("f1 "+res);
    }
}
